package com.aaa.day1110.demo02;

/**
 * @author ${崔灿}
 * @date 2022/11/10 18:42
 **/

public class CuXiaoContext {
    private CuXiao cuXiao;

    public CuXiaoContext(CuXiao cuXiao) {
        this.cuXiao = cuXiao;
    }

    public CuXiao getCuXiao() {
        return cuXiao;
    }

    public void setCuXiao(CuXiao cuXiao) {
        this.cuXiao = cuXiao;
    }

    public CuXiaoContext() {

    }

    //定义一个使用算法的方法
    public void use(){
        cuXiao.cuxiao();
    }
}
